Crate random_word
source ·Expand description
§random_word
The random_word
crate provides an efficient way to generate
random words. Included words can be filtered by length or
first character.
§Usage
You MUST enable a crate language feature. Crate language features are mandatory to reduce binary size. Example for English in Cargo.toml:
[dependencies]
random_word = { version = "0.4.2", features = ["en"] }
Supported Languages:
- English
- Spanish
- German
- French
- Japanese
- Chinese
Enums§
- ISO 639-1 language codes.
Functions§
- Returns all words with the given language.
- Returns all words with the given length and language.
- Returns all words with the given starting character and language.
- Generates a random word with the given language.
- Generates a random word with the given length and language.
- Generates a random word with the given starting character and language.